package com.yuanfeng.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuanfeng.base.entity.BaseMerchantPlusThaliEntity;
import com.yuanfeng.commoms.vo.base.PlusEquityEntityVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.yuanfeng.base.entity.BaseMerchantPlusThali
 */
@Mapper
public interface BaseMerchantPlusThaliMapper extends BaseMapper<BaseMerchantPlusThaliEntity> {


    BaseMerchantPlusThaliEntity selectthalitype1(@Param("param")String plusOrder);

    /**
     *plus套餐配置
     * @param map
     * @return
     */
    Integer insertplusthali(@Param("param") Map map);

    /**
     *plus套餐更新
     * @param map
     * @return
     */
    Integer updateplusthali(@Param("param")Map map);


    /**
     * 查询会员权益
     * @param id
     * @return
     */
    List<PlusEquityEntityVO> selectplusequitys(@Param("list") List<Integer> id);
}




